Tag - Open Source

Entries feed

Tuesday, 28 June, 2016

at daemon 3.1.20, with 3 fixes

From the Debian BUG system I incorporated 3 fixes. One of them is experimental. It fixes a broken code but may have side effects. Please test it.

  • New release 3.1.20:
   * Add option b to getopt, (Closes: #812972).
   * Comment a possible broken code, (Closes: #818508).
   * Add a fflush to catch more errors during writes, (Closes: #801186).

You may download from here at_3.1.20.orig.tar.gz.

Sunday, 20 March, 2016

at daemon, now with proper support for --without-selinux

Thanks to Wenzong Fan, now the configure flag --without-selinux works properly.

So here is a new release at 3.1.19.

Please test it.

Thursday, 11 February, 2016

Preview of amanda 3.3.8-1, second try.

I found a bug in amanda-3.3.8 that was quickly fixed by upstream. Please upgrade to this version.

The updates will go to collab-maint.The debs files for jessie are here:

amanda-common_3.3.8-1_cal1_i386.deb

amanda-server_3.3.8-1_cal1_i386.deb

amanda-client_3.3.8-1_cal1_i386.deb

Here comes the changelog:

amanda (1:3.3.8-1~cal1) unstable; urgency=low

  * New Upstream version
    * Changes for 3.3.8
      * s3 devices
          New NEARLINE S3-STORAGE-CLASS for Google storage.
          New AWS4 STORAGE-API
      * amcryptsimple
          Works with newer gpg2.
      * amgtar
          Default SPARSE value is NO if tar < 1.28.
          Because a bug in tar with some filesystem.
      * amstar
          support include in backup mode.
      * ampgsql
          Add FULL-WAL property.
      * Many bugs fix.
    * Changes for 3.3.7p1
      * Fix build in 3.3.7
    * Changes for 3.3.7
      * amvault
          new --no-interactivity argument.
          new --src-labelstr argument.
      * amdump
          compute crc32 of the streams and write them to the debug files.
      * chg-robot
          Add a BROKEN-DRIVE-LOADED-SLOT property.
      * Many bugs fix.
  * Refreshed patches.
  * Dropped patches that were applied by the upstream: fix-misc-typos,
    automake-add-missing, fix-amcheck-M.patch,
    fix-device-src_rait-device.c, fix-amreport-perl_Amanda_Report_human.pm
  * Change the email of the maintainer.
  * "wrap-and-sort -at" all control files.
  * swig is a new build depend.
  * Bump standard version to 3.9.6, no changes needed.
  * Replace deprecated dependency perl5 by perl, (Closes: #808209), thank
    you Gregor Herrmann for the NMU.
  * New patch fix-amgtar-exclude to fix amgtar when the exclude file don't
    exist.

 -- Jose M Calhariz <jose@calhariz.com>  Thu, 11 Feb 2016 17:52:08 +0000

Friday, 5 February, 2016

Preview of amanda 3.3.8-1

While I sort out a sponsor, my sponsor is very busy, here is a preview of the new packages. So anyone can install and test them on jessie.

The source of the packages is in collab-maint.The debs files for jessie are here:

amanda-common_3.3.8-1_cal0_i386.deb

amanda-server_3.3.8-1_cal0_i386.deb

amanda-client_3.3.8-1_cal0_i386.deb

Here comes the changelog:

amanda (1:3.3.8-1~cal0) unstable; urgency=low

  * New Upstream version
    * Changes for 3.3.8
      * s3 devices
          New NEARLINE S3-STORAGE-CLASS for Google storage.
          New AWS4 STORAGE-API
      * amcryptsimple
          Works with newer gpg2.
      * amgtar
          Default SPARSE value is NO if tar < 1.28.
          Because a bug in tar with some filesystem.
      * amstar
          support include in backup mode.
      * ampgsql
          Add FULL-WAL property.
      * Many bugs fix.
    * Changes for 3.3.7p1
      * Fix build in 3.3.7
    * Changes for 3.3.7
      * amvault
          new --no-interactivity argument.
          new --src-labelstr argument.
      * amdump
          compute crc32 of the streams and write them to the debug files.
      * chg-robot
          Add a BROKEN-DRIVE-LOADED-SLOT property.
      * Many bugs fix.
  * Refreshed patches.
  * Dropped patches that were applied by the upstream: fix-misc-typos,
    automake-add-missing, fix-amcheck-M.patch,
    fix-device-src_rait-device.c, fix-amreport-perl_Amanda_Report_human.pm
  * Change the email of the maintainer.
  * "wrap-and-sort -at" all control files.
  * swig is a new build depend.
  * Bump standard version to 3.9.6, no changes needed.
  * Replace deprecated dependency perl5 by perl, (Closes: #808209), thank
    you Gregor Herrmann for the NMU.

 -- Jose M Calhariz <jose@calhariz.com>  Tue, 02 Feb 2016 19:56:12 +0000

Tuesday, 29 December, 2015

Preview of switchconf 0.0.15-1

Since the last version 0.0.9 on Debian, I have made some changes until version 0.0.14. The version 0.0.15 is only to include a fix for the new findutils. I thank you to Andreas Metzler for the fix and the prompt NMU.

The files are here, take notice about the replaced ~ in the original by _:

switchconf_0.0.15.orig.tar.xz switchconf_0.0.15-1_wip1.debian.tar.xz switchconf_0.0.15-1_wip1_all.deb

If you need the dsc file, just ask me.

Here comes the changelog since 0.0.9, without the lastest NMU:

switchconf (0.0.15-1~wip1) UNRELEASED; urgency=low

  * New upstream version:
    * Replace 'find -perm +1' by 'find -perm /1', thank you Andreas
      Metzler for the patch and the NMU.
  * Add systemd service file, thank you Felipe Sateler for reviewing it.
  * Bump standards-version to 3.9.6, no changes needed.
  * New maintainer email address.

 -- Jose M Calhariz <jose@calhariz.com>  Tue, 29 Dec 2015 19:59:07 +0000

switchconf (0.0.14-1) UNRELEASED; urgency=low

  * Force the use of bash, instead of a POSIX shell.

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 24 Aug 2014 04:37:04 +0100

switchconf (0.0.13-2) UNRELEASED; urgency=low

  * Add Homepage field pointing to alioth page of the project

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 02 Mar 2014 18:01:07 +0000

switchconf (0.0.13-1) wheezy; urgency=low

  * New upstream version:
    * Distribution tar is now compressed by xz
  * Change to source format 3.0 (quilt)

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 02 Mar 2014 15:56:31 +0000

switchconf (0.0.12-1) wheezy; urgency=low

  * Fixed some typos on switchconf

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 02 Mar 2014 15:39:09 +0000

switchconf (0.0.11-1) wheezy; urgency=low

  * New upstream version:
    * Makefile: add target dist-exp to build distribution files.
    * Add flag -f with the path to the configuration file.
  * Update debian/rules to version 0.24.
  * Update debian/control with new name and email address of Maintainer.
  * Update copyright.

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Sun, 16 Feb 2014 18:04:22 +0000

switchconf (0.0.10-1) UNRELEASED; urgency=low

  * New upstream version:
    * Fix return code on error.
    * Use syslog system to report errors.

 -- Jose M Calhariz <jose.calhariz@ist.utl.pt>  Thu, 16 Jan 2014 20:23:46 +0000

Sunday, 13 December, 2015

at daemon now with SELinux support

Thanks to the work of Laurent Bigonville, now the at daemon have SELinux support.

So here is a new release at 3.1.18.

Please test it.

Sunday, 6 December, 2015

Taking over the development of at daemon.

I decided some time ago to take over the development of at daemon.

Here is a new release of at v3.1.17

From the Changelog:

at 3.1.17 (2015-08-31):

  Jose M Calhariz:
        at.1.in: Document behaviour when using past time, thanks Kelly Price (Closes: #639900).
        Makefile.in: On distclean remove at.allow.5, auto generated file.

Sunday, 30 August, 2015

Preview of switchconf 0.0.14-2 in Debian

There was a long time since I published the last version of switchconf.

This time someone requested that I add support for systemd by adding a service file. This service file does not make switchconf depend on systemd. It will still work with svs init scripts.

As my knowledge of systemd is minimal, please review my changes.

To download use the following entries:

switchconf_0.0.14-2_wip4_all.deb

switchconf_0.0.14-2_wip4.debian.tar.xz

switchconf_0.0.14-2_wip4.dsc

switchconf_0.0.14-2_wip4_amd64.changes

switchconf_0.0.14.orig.tar.xz

Sunday, 24 August, 2014

Published switchconf v 0.0.14

I have published a new version of switchconf, v0.0.14.

Can be downloaded from switchconf_0.0.14.orig.tar.xz

This is the relevant part from the Changelog.

 * Force the use of bash, instead of a POSIX shell.

Saturday, 1 February, 2014

Collect and keeps up to date the system information using sysinfoupdate

In 2005 I was looking for ways to auto collect information about a Linux server. The information was to be used in case of bare bones recovery. I didn't found a satisfactory program so I created one, sysinfoupdate. This program have been growing long this years and now is a system that helps to maintain a diary of a Linux Installation. The diary records all the important changes the sysadmin does to the system. This records can be used during recovery after a broken hardware or to detect what change may be causing a malfunction, for example.

It's use is very simple, create a diario directory in your home directory, for example /root/diario, and then run sysinfoupdate. Inside diario you will find a group files with textual information about your system. It works best if you run it as superuser and you keep track of the changes under a version control system, like subversion or git.

You can download the Debian package here or download the source from here.

Wednesday, 3 April, 2013

Openafs 1.6.x limits

Interesting limits of openafs 1.6.x

Max Partition? max signed int64

Volume Max Size?

Bigger than 2TiB

Quota Max Size

2 TiB

Max Files per directory

64.000 entries, around 32k filenames.

Max Files per volume

Around 32 million files.

Max Filename?

255 chars

Number of ACL-Entries (per directory)?

20

Maximum number of servers for a read only volume:

13

Saturday, 16 February, 2013

Update to kibana package

I have improved the packaging of kibana for Debian. Is lintian clean and almost ready for inclusion in Debian.

kibana_0.2.0_35_g40f2512_5-1_all.deb
kibana_0.2.0_35_g40f2512_5-1.dsc
kibana_0.2.0_35_g40f2512_5.orig.tar.gz
kibana_0.2.0_35_g40f2512_5-1.debian.tar.gz

The CMS have replaced the + by _ in the filenames. Be prepared to rename back the files before doing dpkg-source -x kibana_0.2.0_35_g40f2512_5-1.dsc

Monday, 12 November, 2012

Good hacks on using Debian testing

I found an interesting article on how to use Debian testing/unstable/experimental and ways to contribute back to Debian.

http://bonedaddy.net/pabs3/log/2012/10/29/thoughts-on-debian-testing/

Friday, 31 August, 2012

A Selection of talks from DebConf 2012

Monday, 6 February, 2012

A Selection of Talks from FOSDEM 2012.

It was only some days ago that I made the decision to go, for the first time to the FOSDEM (Free and Open Source Software Developers' European Meeting). That was a good decision. The keynotes and the maintracks were very good, with good presentations and contents.

It is a big conference and this year, is not an exception. With 429 speakers and 430 talks at 21 rooms in only two days. It's impossible to see all the presentations. The only 5 rooms with a video camcorder to tape the talk, where: Janson, K.1.105, Ferrer, H.1301, H.1302. It's very dificult to choose what talks to see, what talks to see later in video and what talks to loose. What I leave here is my selection of talks. This selection is representative of my tastes, not of the quality of the presentations. I will give links for material that is available now. I will do periodic updates when the new material is available, the video or the slides.

   Video
   Video
   Video
   Video
   Video
   Video
   Slides
   Video
   Video
   Video
   Video
   Video
   Slides

More resources:

http://lanyrd.com/2012/fosdem/

Tuesday, 3 January, 2012

To package or not to package, that's the question.

In the past I had to install many times, by hand, extra software on Unix machines, specially because of missing useful software like a C compiler or because I like too much to use the bash. In the end it can get very messy I promised myself to never do again a make install for manually installing software in a Debian machine.

It's possible and it pays on the long run. When you take a program from outside the distribution you need to: configure, compile, install and document what you have done. So you can do it again with the next version. Specially when you have done local modifications. If you put your software inside a Debian package and follow the most sensible Debian Policy rules you get:

  • The documentation on how to configure, build and install the software is in debian/rules file.
  • It's easy to upgrade or remove the software, because is a Debian package.
  • You can use a patch system like quilt or dpatch to isolate your local changes from the upstream sources. If you create different patches files, for every logical feature you enhance or fix, it will be easier to drop them when the new version have the desired feature and to know what features needs to be ported for the new version of the upstream software.
  • You can do it even with the binaries of proprietary software. Its easy to take an rpm or tar files with the binaries and insert them inside the sources of a Debian package. With the proper care it's easy to update the sources for the next upgrade.

For example I have been doing this for packaging the pristine upstream binary of eclipse, because the teachers of my University usually requests a newer version of eclipse than what is available from Debian stable or even unstable.

Another example is the support software for HP hardware before HP officially supported Debian. I have taken the original rpm files or the scexe scripts and convert them into a debian file. Usually I need only to change two files with every new release of software, the Makefile with the name of the new rpm file and the debian/changelog with the new version and what is new.

In the end it's easier than it seams to create and maintain a Debian package. It's a steep curve, but pays off on the long run.

The good thing is all this approaches are compatible with a puppet or chef system for managing the Unix servers.

Thursday, 4 August, 2011

Preview of xorp v1.8.3 in Debian

I attended DebConf11 and my main objective was to package xorp v1.8.3 for Debian. In the spirit of release early and release often here are the links for a package compiled for Debian v6.0 aka squeeze. The work is not finished and most important was not yet reviewed by a Debian Developer. Reports of success are important.

For downloading:

xorp_1.8.3-1_wip4_bpo60_1_i386.deb

xorp_1.8.3-1_wip4_bpo60_1_amd64.deb

For accessing the sources or using apt-get add the following lines to your /etc/apt/sources.list:

deb http://debian.tagus.ist.utl.pt/debian squeeze/UNRELEASED main contrib
deb-src  http://debian.tagus.ist.utl.pt/debian squeeze/UNRELEASED main contrib

Tuesday, 19 July, 2011

De Lisboa ate Banja Luka para a DebConf11

There is online a description of the travel to Banja Luka from Zagreb, with photos and everything. So this time I will write in Portuguese for the people that prefer Portuguese to English.

A viagem de taxi até ao aeroporto correu sem problemas, não havia trânsito na ponte 25 de Abril. No check-in a fila da esquerda tinha maquinas próprias de check-in e a ajuda de uma funcionária da Lufthansa. Rápidamente fiquei com os 2 bilhetes de ida. Lisboa - Frankfurt e Frankfurt - Zagreb. Por isso despachei-me num estante. O embarque começou atrasado, estranho para uma companhia alemã. :-) A viagem correu sem problemas tirando alguma turbulência na aterragem. Em Frankfurt o céu estava cinzento e a pista molhada.

O desembarque em Frankfurt foi nas portas A do terminal 1. Nos placards o meu voo para Zagreb ainda não tinha porta de embarque, apenas Terminal B. Assim comecei a minha caminhada até às portas de embarque B, que se revelou ser bastante comprida. Demorei perto de 30 minutos a chegar à porta de embarque do meu voo seguinte. Comecei a andar, quando à minha direita vejo um imponente 747 da Lufthansa a vir em direcção à janela. Após uns minutos de espera seguiu o seu caminha pela minha esquerda. Como um elegante elefante na selva de betão de um aeroporto.

Foi uma longa caminhada através do terminal A, até encontrar o túnel de ligação para as portas de embarque B. Finalmente à chegada ao terminal B, o meu voo tinha porta atribuida, diferenta da do bilhete. O embarque começou exactamente à hora marcada. O embarque foi feito para o autocarro que nos levou até ao avião. Rápidamente estava toda gente sentada, mas a hora da partida fomos informados de um ligeiro atraso, para esperar por passageiros de outros voos de ligação.

Na chegada a Zagreb tive alguma dificuldade em perceber como era o controlo alfandegário. Filas para toda a gente ou filas diferentes para europeus e não europeus. Julgo que não queriam destinguir os diferentes tipos de passaportes. No entanto uma cabina dava prioridade a tripulações e outra para passageiros de voos de ligação.

Logo a seguir ao controlo de passporte, fica a sala com a alfandega, a maquina de ATM e á direita a recepção de bagagem. Esta maquina ATM pareceu aceitar quase todos os tipos de cartão de crédito. O meu cartão de debito Maestro funcionou, para levantar dinheiro para os autocarros.

À saída da alfandega escolhi a porta de saida da direita. Esta porta tem logo à esquerda o autocarro para a cidade, especificamente o autocarro de ligação até ao terminal de autocarros. O condutor fala Inglês, aceitou a minha bagagem e paguei o bilhete ao condutor 30kn. Julgo que este autocarro esperou um pouco mais devido ao atraso do avião. Pois partiu por volta das 20h10 em vez das 20h00. O percurso termina exactamente no terminal de autocarros, não há como enganar.

No terminal de autocarros demorei algum tempo a encontrar o sitio para vender bilhetes. Foi preciso contornar o edifício para encontrar as escadas que levam ao 1º andar onde estão as bilheteiras. As pessoas na bilheteira falam Inglês, mas precisei de mostrar o papel com o nome do destino. Pois não dizia Banja Luka com a pronuncia certa, Banhia Luka? No bilhete procurar pelo número "Peron", este indica de onde parte o autocarro, 405 no meu caso. O preço é variavel pois são varias as companhias que fazem a viagem. Pela a viagem das 22h00 paguei 108kn, o preço mais barato. Paguei extra 24kn pelas minhas duas malas. Recebi 2 papeis, estes são importantes, pois provavelmente não nos entregarão as malas se o revisor não puder confirmar o numero da mala com os dos nossos papeis.

O motorista e o revisor não falam Inglês e parecem que não fazem o esforço para perceber outras linguas, para além das linguas locais. Mas não é problema pois o autocarro faz apenas 3 paragens:

  1. fronteira, tenham o passaporte convosco e não na bagagem de porão. Preparam-se para sair do autocarro, mostrar o passaporte à policia por duas vezes e um deles policia recolher o vosso passaporte para verificações mais prolongadas. No fim o revisor irá devolver o vosso passaporte.
  1. descanso, logo a seguir à fronteira o autocarro faz uma paragem. Permite ir ao WC, fumar ou ir ao restaurante. Este não faz referencia de aceitar qualquer forma de pagamento por cartão e não comprei nada para confirmar. Cuidado para não perder o autocarro, pois não me pareceu que o revisor tenha confirmado a presença de toda a gente.
  1. Banja Luka, a chegada parece ser num simples parque estacionamento onde param os autocarros e os taxis. Fica a 3 Km de distância, por isso recomenda-se apanhar um taxi ou o autocarro. O preço médio fica em 10km ou 5 euros. O taxista não falava Inglês e não tinha troco de 50km, que a maquina do hotel me tinha acabado de dar. Acabei a receber 20 euros do troco, o que foi justo.

Penso eu porque passava da meia noite, o empregado fez um check-in rápido e ficou com o meu passporte, que foi devolvido na manhã seguinte.

Sunday, 4 July, 2010

Nagstatmon help monitor network and servers using nagios

Monitoring a network or a group of servers using nagios have some problems. Receiving alarms by email or have a browser with a open page to the nagios site is an option that don't fit well in the work flow of some people.

Nagstatmon is a program that solves that problem. It opens a small window or icon on a taskbar of your desktop and show how many alarms are active. When an alarm triggers you can see where and what kind of alarm and easily open a connection for managing the equipment in fault.

This program is available in Debian testing (squeeze) but the package is compatible with Debian stable (v5.0, lenny).

The homepage for the software is http://nagstamon.sourceforge.net/

Monday, 28 June, 2010

Published cal-logcheck-database v 0.35

cal-logcheck-database is a personal package that I use to collect extra rules for logcheck. This rules help me keeping the logcheck reports cleaner and informative.

This version have new rules for smartmontools messages and updates the package for squeeze.

You can download the package and the source from here:

cal-logcheck-database_0.35_all.deb

cal-logcheck-database_0.35.dsc

cal-logcheck-database_0.35.tar.gz

cal-logcheck-database_0.35_i386.changes

In alternative you can install it using apt if you add the following line to your /etc/apt/sources.list:

deb     http://debian.tagus.ist.utl.pt/debian lenny/updates main

- page 2 of 3 -